package io.renren.modules.yckj.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户资产记录
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2025-04-27
 */
@Data
public class AssetLogExcel {
    @ExcelProperty(value = "主键")
    private Long id;
    @ExcelProperty(value = "用户id")
    private Long userId;
    @ExcelProperty(value = "用户名称")
    private String username;
    @ExcelProperty(value = "金额")
    private BigDecimal amount;
    @ExcelProperty(value = "类型：0充值，1消费")
    private Integer type;
    @ExcelProperty(value ="业务id")
    private Long businessId;
    @ExcelProperty(value ="类型：0用户充值，1组充值，2订单支付")
    private Integer businessType;
    @ExcelProperty(value ="备注")
    private String note;
    @ExcelProperty(value = "创建时间")
    private Date createTime;
    @ExcelProperty(value = "更新时间")
    private Date updateTime;

}